<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript">
    var zhong = parseFloat(prompt("请输入您的体重（斤）"))
    var height = parseFloat(prompt("请输入您的身高（cm）"))
    if ((height - 108)*2 >= zhong - 10 && (height - 108)*2 <= zhong + 10) {
        alert('您的体重为标准体重')
    } else if ((height - 108)*2 < zhong - 10) {
        alert('您的体重偏重')
    } else{
        alert('您的体重偏瘦')
    }
    </script>   
</head>

<body>
</body>

</html>